/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package soapspike;

import java.net.InetAddress;
import java.net.UnknownHostException;
import javax.xml.ws.Endpoint;

/**
 *
 * @author Renato Rosa <2101076@my.ipleiria.pt>
 */
public class UpdaterService implements Runnable {
    private String wsAddress = "http://localhost:5555/Update/UpdateFunctions";
    private ServiceMethods methods;

    @Override
    public void run() {
        Endpoint.publish(wsAddress, methods);
        System.out.println("Web service was published successfully.\n" + "WSDL URL: " + wsAddress + "?WSDL");
    }
    
}
